package com.xiaoyu.base.utils;

import android.content.Context;
import android.content.SharedPreferences;
import com.xiaoyu.base.app.AppContext;

public class SharedPreferencesData {

    private static SharedPreferences sBasic;

    public static SharedPreferences basic() {
        if (sBasic == null && AppContext.getContext() != null) {
            sBasic = AppContext.getContext().getSharedPreferences("basic", Context.MODE_PRIVATE);
        }
        return sBasic;
    }
}
